import request from '@/utils/request'

// 查询商店信息列表
export function listStoreInfo(query) {
  return request({
    url: '/workflow/StoreInfo/list',
    method: 'get',
    params: query
  })
}

// 查询商店信息详细
export function getStoreInfo(id) {
  return request({
    url: '/workflow/StoreInfo/' + id,
    method: 'get'
  })
}

// 新增商店信息
export function addStoreInfo(data) {
  return request({
    url: '/workflow/StoreInfo',
    method: 'post',
    data: data
  })
}

// 修改商店信息
export function updateStoreInfo(data) {
  return request({
    url: '/workflow/StoreInfo',
    method: 'put',
    data: data
  })
}

// 删除商店信息
export function delStoreInfo(id) {
  return request({
    url: '/workflow/StoreInfo/' + id,
    method: 'delete'
  })
}
